﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:st="clr-namespace:SilverTile.Xaml;assembly=SilverTile">

    <st:SpriteFrame x:Key="tile000476_002" Source="/SilverTileApp;component/Tiles/tile000476_002.png" Blocking="True" />
    <st:SpriteFrame x:Key="tile000477_002" Source="/SilverTileApp;component/Tiles/tile000477_002.png" Blocking="True" />
    <st:SpriteFrame x:Key="tile000478_002" Source="/SilverTileApp;component/Tiles/tile000478_002.png" Blocking="True" />
    <st:SpriteFrame x:Key="tile000498_002" Source="/SilverTileApp;component/Tiles/tile000498_002.png" Blocking="True" />
    <st:SpriteFrame x:Key="tile000518_002" Source="/SilverTileApp;component/Tiles/tile000518_002.png" Blocking="True" />
    <st:SpriteFrame x:Key="tile000517_002" Source="/SilverTileApp;component/Tiles/tile000517_002.png" Blocking="True" />
    <st:SpriteFrame x:Key="tile000496_002" Source="/SilverTileApp;component/Tiles/tile000496_002.png" Blocking="True" />
    <st:SpriteFrame x:Key="tile000497_002" Source="/SilverTileApp;component/Tiles/tile000497_002.png" Blocking="True" />
    <st:SpriteFrame x:Key="tile000516_002" Source="/SilverTileApp;component/Tiles/tile000516_002.png" Blocking="True" />
    <st:SpriteFrame x:Key="tile000316_003" Source="/SilverTileApp;component/Tiles/tile000316_003.png" Blocking="False" />
    <st:SpriteFrame x:Key="tile000338_002" Source="/SilverTileApp;component/Tiles/tile000338_002.png" Blocking="True" />

    <st:SpriteAnimation x:Key="Player" Fps="10">
        <st:FrameAnimation Name="Left">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Left1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Left1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Left2.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Left2.png" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Left_Attack">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Left_Attack1.png" OriginX="24" Top="0" Left="24" Bottom="32" Right="54" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Left_Attack2.png" OriginX="24" Top="0" Left="24" Bottom="32" Right="54" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Left_Attack3.png" OriginX="24" Top="0" Left="24" Bottom="32" Right="54" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Right">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Right1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Right1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Right2.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Right2.png" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Right_Attack">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Right_Attack1.png" Top="0" Left="0" Bottom="32" Right="30" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Right_Attack2.png" Top="0" Left="0" Bottom="32" Right="30" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Right_Attack3.png" Top="0" Left="0" Bottom="32" Right="30" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Up">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Up1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Up1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Up2.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Up2.png" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Up_Attack">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Up_Attack1.png" OriginY="24" Top="25" Left="0" Bottom="56" Right="32" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Up_Attack2.png" OriginY="24" Top="25" Left="0" Bottom="56" Right="32" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Up_Attack3.png" OriginY="24" Top="25" Left="0" Bottom="56" Right="32" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Down">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Down1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Down1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Down2.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Down2.png" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Down_Attack">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Down_Attack1.png" Top="0" Left="0" Bottom="31" Right="32" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Down_Attack2.png" Top="0" Left="0" Bottom="31" Right="32" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Down_Attack3.png" Top="0" Left="0" Bottom="31" Right="32" />
        </st:FrameAnimation>
    </st:SpriteAnimation>

    <st:SpriteAnimation x:Key="Monster" Fps="10">
        <st:FrameAnimation Name="Left">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Monster/Left1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Monster/Left2.png" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Right">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Monster/Right1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Monster/Right2.png" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Up">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Monster/Up1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Monster/Up2.png" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Down">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Monster/Down1.png" />
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/Monster/Down2.png" />
        </st:FrameAnimation>
    </st:SpriteAnimation>

    <st:SpriteAnimation x:Key="Sword">
        <st:FrameAnimation Name="Up">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/SwordUp.png" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Right">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/SwordRight.png" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Down">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/SwordDown.png" />
        </st:FrameAnimation>
        <st:FrameAnimation Name="Left">
            <st:SpriteFrame Source="/SilverTileApp;component/Tiles/SwordLeft.png" />
        </st:FrameAnimation>
    </st:SpriteAnimation>

    <st:SpawnPoint x:Key="RedMonsterSpawn" SpawnProbability="0" SpawnRate="10" SpriteType="{StaticResource Monster}" />
    <st:SpawnPoint x:Key="RedMonsterSpawn2" SpawnProbability="99" SpawnRate="5" SpriteType="{StaticResource Monster}" />
    
    <!--<st:GameAreaGrid x:Key="GameArea" AreaName="GameArea" Columns="16" Rows="9" TileWidth="32" TileHeight="32">
        <st:SpriteTile X="0" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="3" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="4" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="5" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="6" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="7" Y="0" Frame="{StaticResource Sand}" SpawnPoint="{StaticResource RedMonsterSpawn}" />
        <st:SpriteTile X="8" Y="0" Frame="{StaticResource Sand}" SpawnPoint="{StaticResource RedMonsterSpawn}" />
        <st:SpriteTile X="9" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="10" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="11" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="12" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="13" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="14" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="15" Y="0" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="3" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="4" Y="1" Frame="{StaticResource Cave}" SpawnPoint="{StaticResource RedMonsterSpawn2}">
            <st:SpriteTile.Transition>
                <st:AreaTransition GameAreaName="OtherArea" TargetColumn="2" TargetRow="7" />
            </st:SpriteTile.Transition>
        </st:SpriteTile>
        <st:SpriteTile X="5" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="6" Y="1" Frame="{StaticResource MountainNW}" />
        <st:SpriteTile X="7" Y="1" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="1" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="10" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="11" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="12" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="13" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="14" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="15" Y="1" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="3" Y="2" Frame="{StaticResource MountainNW}" />
        <st:SpriteTile X="4" Y="2" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="2" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="2" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="2" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="2" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="10" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="11" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="12" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="13" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="14" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="15" Y="2" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="3" Frame="{StaticResource MountainNW}" />
        <st:SpriteTile X="3" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="4" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="10" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="11" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="12" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="13" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="14" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="15" Y="3" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="4" Frame="{StaticResource Sand}" SpawnPoint="{StaticResource RedMonsterSpawn}" />
        <st:SpriteTile X="1" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="2" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="3" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="4" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="10" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="11" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="12" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="13" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="14" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="15" Y="4" Frame="{StaticResource Sand}" />

        <st:SpriteTile X="0" Y="5" Frame="{StaticResource Sand}" SpawnPoint="{StaticResource RedMonsterSpawn}" />
        <st:SpriteTile X="1" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="2" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="3" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="4" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="10" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="11" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="12" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="13" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="14" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="15" Y="5" Frame="{StaticResource Sand}" />

        <st:SpriteTile X="0" Y="6" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="6" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="3" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="4" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="10" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="11" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="12" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="13" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="14" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="15" Y="6" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="7" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="7" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="3" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="4" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="10" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="11" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="12" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="13" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="14" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="15" Y="7" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="3" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="4" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="5" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="6" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="7" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="8" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="9" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="10" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="11" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="12" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="13" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="14" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="15" Y="8" Frame="{StaticResource Mountain}" />
    </st:GameAreaGrid>


    <st:GameAreaGrid x:Key="OtherArea" AreaName="OtherArea" Columns="16" Rows="9" TileWidth="32" TileHeight="32">
        <st:SpriteTile X="0" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="3" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="4" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="5" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="6" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="7" Y="0" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="0" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="10" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="11" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="12" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="13" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="14" Y="0" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="15" Y="0" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="3" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="4" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="5" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="6" Y="1" Frame="{StaticResource MountainNW}" />
        <st:SpriteTile X="7" Y="1" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="1" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="10" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="11" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="12" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="13" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="14" Y="1" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="15" Y="1" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="3" Y="2" Frame="{StaticResource MountainNW}" />
        <st:SpriteTile X="4" Y="2" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="2" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="2" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="2" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="2" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="10" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="11" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="12" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="13" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="14" Y="2" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="15" Y="2" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="3" Frame="{StaticResource MountainNW}" />
        <st:SpriteTile X="3" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="4" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="3" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="10" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="11" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="12" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="13" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="14" Y="3" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="15" Y="3" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="1" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="2" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="3" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="4" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="10" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="11" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="12" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="13" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="14" Y="4" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="15" Y="4" Frame="{StaticResource Sand}" />

        <st:SpriteTile X="0" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="1" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="2" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="3" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="4" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="10" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="11" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="12" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="13" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="14" Y="5" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="15" Y="5" Frame="{StaticResource Sand}" />

        <st:SpriteTile X="0" Y="6" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="6" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="3" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="4" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="10" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="11" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="12" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="13" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="14" Y="6" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="15" Y="6" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="7" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="7" Frame="{StaticResource Cave}">
            <st:SpriteTile.Transition>
                <st:AreaTransition GameAreaName="StartArea" TargetColumn="4" TargetRow="2" />
            </st:SpriteTile.Transition>
        </st:SpriteTile>
        <st:SpriteTile X="2" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="3" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="4" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="5" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="6" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="7" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="8" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="9" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="10" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="11" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="12" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="13" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="14" Y="7" Frame="{StaticResource Sand}" />
        <st:SpriteTile X="15" Y="7" Frame="{StaticResource Mountain}" />

        <st:SpriteTile X="0" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="1" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="2" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="3" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="4" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="5" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="6" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="7" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="8" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="9" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="10" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="11" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="12" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="13" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="14" Y="8" Frame="{StaticResource Mountain}" />
        <st:SpriteTile X="15" Y="8" Frame="{StaticResource Mountain}" />
    </st:GameAreaGrid>-->

    <st:GameAreaGrid x:Key="Area1" AreaName="Area1" Columns="12" Rows="8" TileWidth="32" TileHeight="32">
        <st:SpriteTile X="0" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="1" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="2" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="3" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="4" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="5" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="6" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="7" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="8" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="9" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="10" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="11" Y="0" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="0" Y="1" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="1" Y="1" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="2" Y="1" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="3" Y="1" Frame="{StaticResource tile000476_002}" />
        <st:SpriteTile X="4" Y="1" Frame="{StaticResource tile000477_002}" />
        <st:SpriteTile X="5" Y="1" Frame="{StaticResource tile000477_002}" />
        <st:SpriteTile X="6" Y="1" Frame="{StaticResource tile000477_002}" />
        <st:SpriteTile X="7" Y="1" Frame="{StaticResource tile000477_002}" />
        <st:SpriteTile X="8" Y="1" Frame="{StaticResource tile000478_002}" />
        <st:SpriteTile X="9" Y="1" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="10" Y="1" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="11" Y="1" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="0" Y="2" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="1" Y="2" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="2" Y="2" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="3" Y="2" Frame="{StaticResource tile000496_002}" />
        <st:SpriteTile X="4" Y="2" Frame="{StaticResource tile000497_002}" />
        <st:SpriteTile X="5" Y="2" Frame="{StaticResource tile000497_002}" />
        <st:SpriteTile X="6" Y="2" Frame="{StaticResource tile000497_002}" />
        <st:SpriteTile X="7" Y="2" Frame="{StaticResource tile000497_002}" />
        <st:SpriteTile X="8" Y="2" Frame="{StaticResource tile000498_002}" />
        <st:SpriteTile X="9" Y="2" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="10" Y="2" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="11" Y="2" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="0" Y="3" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="1" Y="3" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="2" Y="3" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="3" Y="3" Frame="{StaticResource tile000496_002}" />
        <st:SpriteTile X="4" Y="3" Frame="{StaticResource tile000497_002}" />
        <st:SpriteTile X="5" Y="3" Frame="{StaticResource tile000497_002}" />
        <st:SpriteTile X="6" Y="3" Frame="{StaticResource tile000497_002}" />
        <st:SpriteTile X="7" Y="3" Frame="{StaticResource tile000497_002}" />
        <st:SpriteTile X="8" Y="3" Frame="{StaticResource tile000498_002}" />
        <st:SpriteTile X="9" Y="3" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="10" Y="3" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="11" Y="3" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="0" Y="4" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="1" Y="4" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="2" Y="4" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="3" Y="4" Frame="{StaticResource tile000516_002}" />
        <st:SpriteTile X="4" Y="4" Frame="{StaticResource tile000517_002}" />
        <st:SpriteTile X="5" Y="4" Frame="{StaticResource tile000517_002}" />
        <st:SpriteTile X="6" Y="4" Frame="{StaticResource tile000517_002}" />
        <st:SpriteTile X="7" Y="4" Frame="{StaticResource tile000517_002}" />
        <st:SpriteTile X="8" Y="4" Frame="{StaticResource tile000518_002}" />
        <st:SpriteTile X="9" Y="4" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="10" Y="4" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="11" Y="4" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="0" Y="5" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="1" Y="5" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="2" Y="5" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="3" Y="5" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="4" Y="5" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="5" Y="5" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="6" Y="5" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="7" Y="5" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="8" Y="5" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="9" Y="5" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="10" Y="5" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="11" Y="5" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="0" Y="6" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="1" Y="6" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="2" Y="6" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="3" Y="6" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="4" Y="6" Frame="{StaticResource tile000316_003}">
            <st:SpriteTile.SpawnPoint>
                <st:SpawnPoint SpawnProbability="99" SpawnRate="5" SpriteType="{StaticResource Monster}" SpriteClassName="SilverTileApp.MonsterSprite, SilverTileApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
            </st:SpriteTile.SpawnPoint>
        </st:SpriteTile>
        <st:SpriteTile X="5" Y="6" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="6" Y="6" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="7" Y="6" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="8" Y="6" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="9" Y="6" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="10" Y="6" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="11" Y="6" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="0" Y="7" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="1" Y="7" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="2" Y="7" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="3" Y="7" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="4" Y="7" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="5" Y="7" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="6" Y="7" Frame="{StaticResource tile000316_003}" />
        <st:SpriteTile X="7" Y="7" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="8" Y="7" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="9" Y="7" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="10" Y="7" Frame="{StaticResource tile000338_002}" />
        <st:SpriteTile X="11" Y="7" Frame="{StaticResource tile000338_002}" />
    </st:GameAreaGrid>
    
    <st:SilverTileGameWorld x:Key="World" StartAreaName="Area1" StartColumn="1" StartRow="7">
        <st:SilverTileGameWorld.GameAreas>
            <StaticResource ResourceKey="Area1" />
            <!--<StaticResource ResourceKey="Area2" />-->
        </st:SilverTileGameWorld.GameAreas>
    </st:SilverTileGameWorld>

</ResourceDictionary>
 